package sctu.edu.java.year2016.team05.wangliwei;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import javax.lang.model.util.Elements;
import java.io.IOException;

/**
 * Created by wangliwei on 2016/6/13.
 */
public class Test2 {
    public static void main(String[] args) {


        Document document= null;
        try {
            document = Jsoup.connect("http://www.sctu.edu.cn").get();
            org.jsoup.select.Elements elements=document.select("ul");
            System.out.println(elements.get(1));

        } catch (IOException e) {
            e.printStackTrace();
        }

      //  System.out.println(document.body());

    }
}